Automattic\Jetpack_Boost\Lib\Metrics S

Total Complexity 23
Dependencies 9
Dependents 1
Total lines 289
Lines of code 166
Logical lines of code 67
Comment lines 81
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
get_metric_graph()
S
54 6 19
dispatch_metrics_request()
S
52 5 22
process_metrics_request()
S
53 4 26
register_rest_routes()
S
44 1 58
fetch_metrics_request()
S
65 2 8
handle_metrics_callback_error()
S
62 1 12
handle_metrics_callback_success()
S
64 1 11
__construct()
S
79 1 3
format_metrics_request_response()
S
76 1 4
can_manage_options()
S
80 1 3